﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Interop;
using System.Windows;

namespace SYcwpb.Helpers
{
    class WindowHelper
    {
        public static bool IsDisposed(Window window)
        {
            return new WindowInteropHelper(window).Handle == IntPtr.Zero;
        }
    }
}
